package com.zrar.ak.gkpt.service.impl.user;

import com.zrar.ak.gkpt.model.vo.UserVO;
import com.zrar.ak.gkpt.service.user.IUserService;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

@Service
public class UserService implements IUserService {

    @Override
    public UserVO getUserInformation(HttpServletRequest request) {
        HttpSession session = request.getSession();
        UserVO userVO = new UserVO();
        userVO.setUserId("我是上级单位用户id");
        userVO.setUserName("我是上级单位用户姓名");
        userVO.setUnitCode("000000");
        userVO.setUnitName("上级单位");
        return userVO;
    }
}
